/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simulacionproyecto;

import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.JRadioButton;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;


/**
 *
 * @author Arturo
 */
public class MainViewScreen extends javax.swing.JFrame {
    
     public DefaultTableModel model = new DefaultTableModel();
    public JTable jTableActivities = new JTable(){
            public boolean isCellEditable(int rowIndex, int colIndex) {
                if(colIndex == 0){
                    return true;
                }else{ return false;}
            }
        };
    
    
    public MainViewScreen() {
        initComponents();
        initCustomObjects();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        btnGroupGeneradores = new javax.swing.ButtonGroup();
        btnGroupNumMin = new javax.swing.ButtonGroup();
        jLabelP = new javax.swing.JLabel();
        jLabelC = new javax.swing.JLabel();
        jLabelA = new javax.swing.JLabel();
        jLabelXo = new javax.swing.JLabel();
        jTextFieldP = new javax.swing.JTextField();
        jTextFieldC = new javax.swing.JTextField();
        jTextFieldA = new javax.swing.JTextField();
        jTextFieldXi = new javax.swing.JTextField();
        jLabelVarM = new javax.swing.JLabel();
        jButtonCalcular = new javax.swing.JButton();
        jLabelRow = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jSeparator1 = new javax.swing.JSeparator();
        jRadioUni = new javax.swing.JRadioButton();
        jRadioNor = new javax.swing.JRadioButton();
        jRadioExp = new javax.swing.JRadioButton();
        jRadioDis = new javax.swing.JRadioButton();
        jTextFieldPromedio = new javax.swing.JTextField();
        jTextFieldMedia = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jTextFieldDesviacion = new javax.swing.JTextField();
        jTextFieldUniA = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        jTextFieldUniB = new javax.swing.JTextField();
        jSeparator2 = new javax.swing.JSeparator();
        jSeparator3 = new javax.swing.JSeparator();
        jSeparator4 = new javax.swing.JSeparator();
        jLabelVarGenTitle = new javax.swing.JLabel();
        jSeparator5 = new javax.swing.JSeparator();
        jButtonCalcularEventos = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextAreaResult = new javax.swing.JTextArea();
        jRadioNumEventos = new javax.swing.JRadioButton();
        jRadioMinutos = new javax.swing.JRadioButton();
        jTextFieldNumMin = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLabelP.setText("P =");

        jLabelC.setText("c =");

        jLabelA.setText("a =");

        jLabelXo.setText("Xi =");

        jLabelVarM.setText("m = ");

        jButtonCalcular.setText("Registrar");
        jButtonCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonCalcularActionPerformed(evt);
            }
        });

        jLabelRow.setText("Aqui iran resultados");

        jLabel1.setText("Generador de Variables Aleatorias");

        jRadioUni.setText("Uniforme");

        jRadioNor.setText("Normal");

        jRadioExp.setText("Exponencial");

        jRadioDis.setText("Discreta");

        jLabel2.setText("Promedio:");

        jLabel3.setText("Media:");

        jLabel4.setText("Desviacion:");

        jLabel5.setText("a:");

        jLabel6.setText("b:");

        jLabelVarGenTitle.setFont(new java.awt.Font("Lucida Grande", 1, 14)); // NOI18N
        jLabelVarGenTitle.setText("Seleccione la variable para los arribos");

        jSeparator5.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jButtonCalcularEventos.setText("Calcular");
        jButtonCalcularEventos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonCalcularEventosActionPerformed(evt);
            }
        });

        jTextAreaResult.setEditable(false);
        jTextAreaResult.setColumns(18);
        jTextAreaResult.setRows(20);
        jScrollPane1.setViewportView(jTextAreaResult);

        jRadioNumEventos.setText("Num. Eventos");

        jRadioMinutos.setText("Num. Minutos");

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(15, 15, 15)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(layout.createSequentialGroup()
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                                .add(org.jdesktop.layout.GroupLayout.LEADING, jSeparator1)
                                .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel1))
                            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                .add(jSeparator2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 385, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(jSeparator3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 385, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(jSeparator4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 385, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(layout.createSequentialGroup()
                                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(jRadioExp)
                                            .add(jRadioNor)
                                            .add(jRadioDis))
                                        .add(18, 18, 18)
                                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                            .add(jLabel2)
                                            .add(jLabel3))
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                            .add(jTextFieldPromedio, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 47, Short.MAX_VALUE)
                                            .add(jTextFieldMedia))
                                        .add(32, 32, 32)
                                        .add(jLabel4)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jTextFieldDesviacion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(layout.createSequentialGroup()
                                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(layout.createSequentialGroup()
                                                .add(jRadioUni)
                                                .add(91, 91, 91)
                                                .add(jLabel5)
                                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                .add(jTextFieldUniA, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 47, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                .add(87, 87, 87)
                                                .add(jLabel6))
                                            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                                                .add(jLabelVarGenTitle)
                                                .add(14, 14, 14)))
                                        .add(jTextFieldUniB, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                            .add(layout.createSequentialGroup()
                                .add(132, 132, 132)
                                .add(jButtonCalcular)))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 56, Short.MAX_VALUE)
                        .add(jSeparator5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(layout.createSequentialGroup()
                                .add(66, 66, 66)
                                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 228, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(28, 28, 28))
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(layout.createSequentialGroup()
                                        .add(jButtonCalcularEventos)
                                        .add(98, 98, 98))
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                                        .add(jTextFieldNumMin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .add(111, 111, 111))))))
                    .add(layout.createSequentialGroup()
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(jLabelXo)
                            .add(jLabelA)
                            .add(jLabelC)
                            .add(jLabelP))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(jTextFieldXi)
                            .add(jTextFieldA)
                            .add(jTextFieldC)
                            .add(jTextFieldP, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .add(jLabelRow)
                                .add(82, 82, 82))
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                                .add(18, 18, 18)
                                .add(jLabelVarM, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 57, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .add(jRadioNumEventos)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jRadioMinutos)
                                .add(13, 13, 13))))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(layout.createSequentialGroup()
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(layout.createSequentialGroup()
                                .add(17, 17, 17)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLabelP)
                                    .add(jTextFieldP, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabelVarM)))
                            .add(layout.createSequentialGroup()
                                .addContainerGap()
                                .add(jLabelRow)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jRadioNumEventos)
                                    .add(jRadioMinutos))))
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(layout.createSequentialGroup()
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jTextFieldC, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabelC))
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLabelA)
                                    .add(jTextFieldA, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jTextFieldXi, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabelXo))
                                .add(5, 5, 5)
                                .add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(18, 18, 18)
                                .add(jLabel1)
                                .add(23, 23, 23)
                                .add(jLabelVarGenTitle)
                                .add(12, 12, 12)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jRadioUni)
                                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                        .add(jLabel5)
                                        .add(jTextFieldUniA, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .add(jLabel6)
                                        .add(jTextFieldUniB, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jSeparator2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jTextFieldMedia, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabel3)
                                    .add(jLabel4)
                                    .add(jTextFieldDesviacion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jRadioNor))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jSeparator3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jTextFieldPromedio, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabel2)
                                    .add(jRadioExp))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jSeparator4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jRadioDis)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jButtonCalcular))
                            .add(layout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTextFieldNumMin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jButtonCalcularEventos)
                                .add(18, 18, 18)
                                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 334, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                    .add(layout.createSequentialGroup()
                        .add(30, 30, 30)
                        .add(jSeparator5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 432, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(13, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButtonCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCalcularActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButtonCalcularActionPerformed

    private void jButtonCalcularEventosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCalcularEventosActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButtonCalcularEventosActionPerformed
    
    private void initCustomObjects(){
        
        //radiobuttonGroup para los generadores
        
        this.btnGroupGeneradores.add(this.jRadioUni);
        this.btnGroupGeneradores.add(this.jRadioNor);
        this.btnGroupGeneradores.add(this.jRadioExp);
        this.btnGroupGeneradores.add(this.jRadioDis);
        
        this.jRadioUni.setActionCommand("uniforme");
        this.jRadioNor.setActionCommand("normal");
        this.jRadioExp.setActionCommand("exponencial");
        this.jRadioDis.setActionCommand("discreta");
        
        // fin
        
        
        //radiobuttonGroup para la cantidad de eventos y minutos mínimos
        this.btnGroupNumMin.add(this.jRadioNumEventos);
        this.btnGroupNumMin.add(this.jRadioMinutos);
        
        this.jRadioNumEventos.setActionCommand("numEventos");
        this.jRadioMinutos.setActionCommand("numMinutos");
        this.jRadioNumEventos.setSelected(true);
        // fin
        
        
        // Uniforme por defecto, deshabilitar los demás campos
        this.jRadioUni.setSelected(true);
        this.jTextFieldDesviacion.setEnabled(false);
        this.jTextFieldMedia.setEnabled(false);
        this.jTextFieldPromedio.setEnabled(false);
        
        jRadioUni.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent e) {
                System.out.println("uniforme");
                jTextFieldDesviacion.setEnabled(false);
                jTextFieldMedia.setEnabled(false);
                jTextFieldPromedio.setEnabled(false);
                jTextFieldUniA.setEnabled(true);
                jTextFieldUniB.setEnabled(true);
            }
        });
        
        jRadioNor.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent e) {
                System.out.println("normal");
                jTextFieldUniA.setEnabled(false);
                jTextFieldUniB.setEnabled(false);
                jTextFieldPromedio.setEnabled(false);
                jTextFieldDesviacion.setEnabled(true);
                jTextFieldMedia.setEnabled(true);
                
            }
        });
        
        jRadioExp.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent e) {
                System.out.println("exponencial");
                jTextFieldUniA.setEnabled(false);
                jTextFieldUniB.setEnabled(false);
                jTextFieldPromedio.setEnabled(true);
                jTextFieldDesviacion.setEnabled(false);
                jTextFieldMedia.setEnabled(false);
            }
        });
        
        jRadioDis.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent e) {
                System.out.println("discreta");
                jTextFieldUniA.setEnabled(false);
                jTextFieldUniB.setEnabled(false);
                jTextFieldPromedio.setEnabled(false);
                jTextFieldDesviacion.setEnabled(false);
                jTextFieldMedia.setEnabled(false);
            }
        });
        
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(MainViewScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(MainViewScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(MainViewScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(MainViewScreen.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new MainViewScreen().setVisible(true);
                
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.ButtonGroup btnGroupGeneradores;
    public javax.swing.ButtonGroup btnGroupNumMin;
    public javax.swing.JButton jButtonCalcular;
    public javax.swing.JButton jButtonCalcularEventos;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabelA;
    private javax.swing.JLabel jLabelC;
    private javax.swing.JLabel jLabelP;
    public javax.swing.JLabel jLabelRow;
    public javax.swing.JLabel jLabelVarGenTitle;
    public javax.swing.JLabel jLabelVarM;
    private javax.swing.JLabel jLabelXo;
    public javax.swing.JRadioButton jRadioDis;
    public javax.swing.JRadioButton jRadioExp;
    public javax.swing.JRadioButton jRadioMinutos;
    public javax.swing.JRadioButton jRadioNor;
    public javax.swing.JRadioButton jRadioNumEventos;
    public javax.swing.JRadioButton jRadioUni;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JSeparator jSeparator3;
    private javax.swing.JSeparator jSeparator4;
    private javax.swing.JSeparator jSeparator5;
    public javax.swing.JTextArea jTextAreaResult;
    public javax.swing.JTextField jTextFieldA;
    public javax.swing.JTextField jTextFieldC;
    public javax.swing.JTextField jTextFieldDesviacion;
    public javax.swing.JTextField jTextFieldMedia;
    public javax.swing.JTextField jTextFieldNumMin;
    public javax.swing.JTextField jTextFieldP;
    public javax.swing.JTextField jTextFieldPromedio;
    public javax.swing.JTextField jTextFieldUniA;
    public javax.swing.JTextField jTextFieldUniB;
    public javax.swing.JTextField jTextFieldXi;
    // End of variables declaration//GEN-END:variables
    
}
